// integration.js
export const integration = {
  state: {
      nameA: "积分呀---",
      studentNumber: '', // 学生学号
      studentMap: {}, // 选中的学生
  },
  mutations: {
      getStudentNumber(state, payload) {
        // console.log('获取全局', getApp().globalData.school.students)
        state.studentMap = (getApp().globalData?.school?.students || []).filter(i => i.student_number === payload)[0]
        state.studentNumber = payload
      }
  },
  actions: {
      
  },
  getters: {
      
  }
}
